package com.one.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 指标表
 * </p>
 *
 * @author zwj
 * @since 2021-10-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("indicator_info")
@ApiModel(value="IndicatorInfoEntity对象", description="指标表")
public class IndicatorInfoEntity implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    @ApiModelProperty(value = "指标编号")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "指标名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "指标权重")
    @TableField("weight")
    private Float weight;

    @ApiModelProperty(value = "指标父节点ID，根节点为0")
    @TableField("parent_id")
    private Integer parentId;
    @ApiModelProperty(value = "树形菜单")
    @TableField("parentIds")
    private String parentIds;
    @ApiModelProperty(value = "排序值")
    @TableField("sort")
    private Integer sort;

    @ApiModelProperty(value = "是否叶子节点（0是1否）")
    @TableField("is_leaf_node")
    private String isLeafNode;

    @ApiModelProperty(value = "是否删除,0:否 1:是")
    @TableField("isDeleted")
    private String isDeleted;

    @ApiModelProperty(value = "创建者")
    @TableField("create_by")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private String createTime;

    @ApiModelProperty(value = "更新者")
    @TableField("update_by")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private String updateTime;


}
